草庐IT

Python SSL : CERTIFICATE_VERIFY_FAILED

全部标签

使用 curl/git 命令时出现 Failed to connect to XXX port 443: 拒绝连接

文章目录原因与过程解决办法原因与过程今天在linux下安装dockercompose出现Failedconnecttogithub.com:443;拒绝连接网上查了下说是DNS被污染,改下host文件解决办法首先你可以通过https://www.ipaddress.com/首页,输入raw.githubusercontent.com进行查询修改hostsvim/etc/hosts在最底下添加199.232.68.133raw.githubusercontent.com保存起来即可这个也同样可以解决git上的一些问题,也建议同时查找一下github.com的真实ip添加进去140.82.113.

多种方法均未解决:Failed to connect to github.com port 443 after 21016 ms: Timed out

具体错误$gitclonehttps://github.com/openjdk/jdk8uCloninginto'jdk8u'...fatal:unabletoaccess'https://github.com/openjdk/jdk8u/':Failedtoconnecttogithub.comport443after21016ms:Timedout办法1(无效)gitconfig--global--unsethttp.proxygitconfig--global--unsethttps.proxy办法2(无效)检查代理。我没有设置代理。办法3(无效)gitconfig--globalhtt

解决XCode错误:Command PhaseScriptExecution failed with a nonzero exit code

一、环境XCode版本:14.3二、错误场景信息 使用模拟器或真机调试、编译等都不出错,唯独在进行Archive时,会出现以下错误:CommandPhaseScriptExecutionfailedwithanonzeroexitcode出错时的XCode截图如下: 三、解决方法展开XCode左侧的项目结构目录,逐级展开“Pods”->“TargetSupportFiles”->"Pods-项目名称",打开其中的“Pods-项目名称-frameworks.sh”文件:在该文件中,找到如下代码:source="$(readlink"${source}")" 把它修改为:source="$(rea

error: attribute android:requestLegacyExternalStorage not found.error: failed processing manifest.

最近调试项目的时候遇到如下错误:error:attributeandroid:requestLegacyExternalStoragenotfound.error:failedprocessingmanifest.这个错误的原因是在AndroidManifest.xml的application中增加了一行配置"android:requestLegacyExternalStorage="true"经过分析和尝试,发现是module的compileSdk小于29时,会提示该错误,大于等于29时就正常。经过分析发现,"android:requestLegacyExternalStorage="tru

Centos8更换yum阿里云源报错Failed to connect to mirrors.aliyuncs.com port 80: Connection refused]

2021年12月31日CentOS8EOL。按照社区规则,CentOS8的源地址http://mirror.centos.org/centos/8/内容已移除,目前第三方的镜像站中均已移除CentOS8的源。阿里云的源http://mirrors.cloud.aliyuncs.com和http://mirrors.aliyun.com也无法同步到CentOS8的源。当您在阿里云上继续使用默认配置的CentOS8的源会发生报错。1,运行以下命令备份之前的repo文件。rename'.repo''.repo.bak'/etc/yum.repos.d/*.repo2,运行以下命令下载最新的repo文

springboot中es查询报错:“failed to create querv:Cannot search on field [ableLook] since it is not indexed“

 报错情况如下:  原因:是因为es字段的index设置为false不可以通过这个字段进行搜索,比如: 解决:把false改为true或是直接把"index":false去掉,默认index为ture

javascript - 使用通过 ember-cli 创建的应用程序获取 "Uncaught Error: Assertion Failed: Ember Views require jQuery between 1.7 and 2.1"

我从Ember开始。我遵循了emberjs.com上的入门指南。并通过运行以下命令设法创建一个新的ember应用程序:npminstall-gember-cliembernewsample-app一切顺利,我可以看到ember-cli生成的应用程序文件。不久之后我做了:emberserver命令行显示:version:1.13.13Livereloadserveronhttp://localhost:49153Servingonhttp://localhost:4200/Buildsuccessful-4426ms.SlowestTrees|Total-----------------

javascript - 使用通过 ember-cli 创建的应用程序获取 "Uncaught Error: Assertion Failed: Ember Views require jQuery between 1.7 and 2.1"

我从Ember开始。我遵循了emberjs.com上的入门指南。并通过运行以下命令设法创建一个新的ember应用程序:npminstall-gember-cliembernewsample-app一切顺利,我可以看到ember-cli生成的应用程序文件。不久之后我做了:emberserver命令行显示:version:1.13.13Livereloadserveronhttp://localhost:49153Servingonhttp://localhost:4200/Buildsuccessful-4426ms.SlowestTrees|Total-----------------

Java操作es 查询时 [search_phase_execution_exception] all shards failed

co.elastic.clients.elasticsearch._types.ElasticsearchException:[es/search]failed:[search_phase_execution_exception]allshardsfailed以上异常来源于,在查询es数据时(反复横跳),按照月份分组统计数据,一开始查询一月份正常,但是查询别的月份由于数据量过多,导致后续数据只能查到某一天的,.from(0).size(10000)于是我把代码中size数据加大,拉到了30000,一开始还没明白怎么回事,就报上面的异常,经过反复几次尝试,我设置为10001也报异常了,设置为10

Failed to connect to 127.0.0.1 port 7890: 拒绝连接

Failedtoconnectto127.0.0.1port7890:拒绝连接查看是否使用代理$:gitconfig--globalhttp.proxy http://127.0.0.1:7890将使用的代理取消掉$gitconfig--global--unsethttp.proxy